\hypertarget{class_b_f_s_test}{}\section{B\+F\+S\+Test Class Reference}
\label{class_b_f_s_test}\index{B\+F\+S\+Test@{B\+F\+S\+Test}}


\hyperlink{class_b_f_s_test}{B\+F\+S\+Test}\+:测试类，用于为测试提供基础数据  




{\ttfamily \#include $<$bfs\+\_\+test.\+h$>$}

Inheritance diagram for B\+F\+S\+Test\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_b_f_s_test}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef \hyperlink{struct_introduction_to_algorithm_1_1_graph_algorithm_1_1_graph}{Graph}$<$ B\+F\+S\+\_\+\+N, \hyperlink{struct_introduction_to_algorithm_1_1_graph_algorithm_1_1_b_f_s___vertex}{B\+F\+S\+\_\+\+Vertex}$<$ int $>$ $>$ \hyperlink{class_b_f_s_test_ad38ca5029d5674d467dc71d13f5e5c7c}{G\+Type}
\item 
typedef std\+::function$<$ void(\hyperlink{struct_introduction_to_algorithm_1_1_graph_algorithm_1_1_b_f_s___vertex}{B\+F\+S\+\_\+\+Vertex}$<$ int $>$\+::V\+I\+D\+Type v\+\_\+id)$>$ \hyperlink{class_b_f_s_test_a4012e860a3e78030ef0f4f544a834177}{Action\+Type}
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_b_f_s_test_a295164608e7887ea16383eb80e0d2a45}{Set\+Up} ()
\item 
void \hyperlink{class_b_f_s_test_ac160dd8773850140c50cde59c8498764}{Tear\+Down} ()
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\+::shared\+\_\+ptr$<$ \hyperlink{class_b_f_s_test_ad38ca5029d5674d467dc71d13f5e5c7c}{G\+Type} $>$ \hyperlink{class_b_f_s_test_a0d7cdb7946902c8d93945a35a222b9d7}{\+\_\+1v\+\_\+graph}
\item 
std\+::shared\+\_\+ptr$<$ \hyperlink{class_b_f_s_test_ad38ca5029d5674d467dc71d13f5e5c7c}{G\+Type} $>$ \hyperlink{class_b_f_s_test_a0158014634e67e6bee3f8f6b1e622ced}{\+\_\+1e\+\_\+graph}
\item 
std\+::shared\+\_\+ptr$<$ \hyperlink{class_b_f_s_test_ad38ca5029d5674d467dc71d13f5e5c7c}{G\+Type} $>$ \hyperlink{class_b_f_s_test_aacf800be44976478c190b2acd338377f}{\+\_\+list\+\_\+graph}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{class_b_f_s_test}{B\+F\+S\+Test}\+:测试类，用于为测试提供基础数据 

{\ttfamily \hyperlink{class_b_f_s_test}{B\+F\+S\+Test}}是 {\ttfamily \+::testing\+::\+Test} 的子类。它主要用于为每一个{\ttfamily T\+E\+S\+T\+\_\+\+F}准备测试环境 

Definition at line 41 of file bfs\+\_\+test.\+h.



\subsection{Member Typedef Documentation}
\hypertarget{class_b_f_s_test_a4012e860a3e78030ef0f4f544a834177}{}\index{B\+F\+S\+Test@{B\+F\+S\+Test}!Action\+Type@{Action\+Type}}
\index{Action\+Type@{Action\+Type}!B\+F\+S\+Test@{B\+F\+S\+Test}}
\subsubsection[{Action\+Type}]{\setlength{\rightskip}{0pt plus 5cm}typedef std\+::function$<$void({\bf B\+F\+S\+\_\+\+Vertex}$<$int$>$\+::V\+I\+D\+Type v\+\_\+id)$>$ {\bf B\+F\+S\+Test\+::\+Action\+Type}}\label{class_b_f_s_test_a4012e860a3e78030ef0f4f544a834177}
模板实例化的\+Action类型 

Definition at line 45 of file bfs\+\_\+test.\+h.

\hypertarget{class_b_f_s_test_ad38ca5029d5674d467dc71d13f5e5c7c}{}\index{B\+F\+S\+Test@{B\+F\+S\+Test}!G\+Type@{G\+Type}}
\index{G\+Type@{G\+Type}!B\+F\+S\+Test@{B\+F\+S\+Test}}
\subsubsection[{G\+Type}]{\setlength{\rightskip}{0pt plus 5cm}typedef {\bf Graph}$<$B\+F\+S\+\_\+\+N,{\bf B\+F\+S\+\_\+\+Vertex}$<$int$>$ $>$ {\bf B\+F\+S\+Test\+::\+G\+Type}}\label{class_b_f_s_test_ad38ca5029d5674d467dc71d13f5e5c7c}
模板实例化的图类型，该图的顶点类型为{\ttfamily B\+F\+S\+\_\+\+Vertex$<$int$>$} 

Definition at line 44 of file bfs\+\_\+test.\+h.



\subsection{Member Function Documentation}
\hypertarget{class_b_f_s_test_a295164608e7887ea16383eb80e0d2a45}{}\index{B\+F\+S\+Test@{B\+F\+S\+Test}!Set\+Up@{Set\+Up}}
\index{Set\+Up@{Set\+Up}!B\+F\+S\+Test@{B\+F\+S\+Test}}
\subsubsection[{Set\+Up()}]{\setlength{\rightskip}{0pt plus 5cm}void B\+F\+S\+Test\+::\+Set\+Up (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}\label{class_b_f_s_test_a295164608e7887ea16383eb80e0d2a45}


Definition at line 47 of file bfs\+\_\+test.\+h.

\hypertarget{class_b_f_s_test_ac160dd8773850140c50cde59c8498764}{}\index{B\+F\+S\+Test@{B\+F\+S\+Test}!Tear\+Down@{Tear\+Down}}
\index{Tear\+Down@{Tear\+Down}!B\+F\+S\+Test@{B\+F\+S\+Test}}
\subsubsection[{Tear\+Down()}]{\setlength{\rightskip}{0pt plus 5cm}void B\+F\+S\+Test\+::\+Tear\+Down (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}\label{class_b_f_s_test_ac160dd8773850140c50cde59c8498764}


Definition at line 64 of file bfs\+\_\+test.\+h.



\subsection{Member Data Documentation}
\hypertarget{class_b_f_s_test_a0158014634e67e6bee3f8f6b1e622ced}{}\index{B\+F\+S\+Test@{B\+F\+S\+Test}!\+\_\+1e\+\_\+graph@{\+\_\+1e\+\_\+graph}}
\index{\+\_\+1e\+\_\+graph@{\+\_\+1e\+\_\+graph}!B\+F\+S\+Test@{B\+F\+S\+Test}}
\subsubsection[{\+\_\+1e\+\_\+graph}]{\setlength{\rightskip}{0pt plus 5cm}std\+::shared\+\_\+ptr$<${\bf G\+Type}$>$ B\+F\+S\+Test\+::\+\_\+1e\+\_\+graph\hspace{0.3cm}{\ttfamily [protected]}}\label{class_b_f_s_test_a0158014634e67e6bee3f8f6b1e622ced}
指向一个图，该图只有一条边 

Definition at line 66 of file bfs\+\_\+test.\+h.

\hypertarget{class_b_f_s_test_a0d7cdb7946902c8d93945a35a222b9d7}{}\index{B\+F\+S\+Test@{B\+F\+S\+Test}!\+\_\+1v\+\_\+graph@{\+\_\+1v\+\_\+graph}}
\index{\+\_\+1v\+\_\+graph@{\+\_\+1v\+\_\+graph}!B\+F\+S\+Test@{B\+F\+S\+Test}}
\subsubsection[{\+\_\+1v\+\_\+graph}]{\setlength{\rightskip}{0pt plus 5cm}std\+::shared\+\_\+ptr$<${\bf G\+Type}$>$ B\+F\+S\+Test\+::\+\_\+1v\+\_\+graph\hspace{0.3cm}{\ttfamily [protected]}}\label{class_b_f_s_test_a0d7cdb7946902c8d93945a35a222b9d7}
指向一个图，该图只有一个顶点 

Definition at line 65 of file bfs\+\_\+test.\+h.

\hypertarget{class_b_f_s_test_aacf800be44976478c190b2acd338377f}{}\index{B\+F\+S\+Test@{B\+F\+S\+Test}!\+\_\+list\+\_\+graph@{\+\_\+list\+\_\+graph}}
\index{\+\_\+list\+\_\+graph@{\+\_\+list\+\_\+graph}!B\+F\+S\+Test@{B\+F\+S\+Test}}
\subsubsection[{\+\_\+list\+\_\+graph}]{\setlength{\rightskip}{0pt plus 5cm}std\+::shared\+\_\+ptr$<${\bf G\+Type}$>$ B\+F\+S\+Test\+::\+\_\+list\+\_\+graph\hspace{0.3cm}{\ttfamily [protected]}}\label{class_b_f_s_test_aacf800be44976478c190b2acd338377f}
指向一个图，该图的边组成一个链条 

Definition at line 67 of file bfs\+\_\+test.\+h.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/graph\+\_\+algorithms/basic\+\_\+graph/graph\+\_\+bfs/\hyperlink{bfs__test_8h}{bfs\+\_\+test.\+h}\end{DoxyCompactItemize}
